package com.kitchen.beans.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Food {
    /**
     * 菜品id
     */
    @Id
    @Column(name = "f_id")
    private Integer fId;

    /**
     * 菜品名称
     */
    @Column(name = "f_name")
    private String fName;

    /**
     * 菜品图片 多个图片 | 分割
     */
    @Column(name = "f_image")
    private String fImage;

    /**
     * 商品点击数
     */
    @Column(name = "f_click")
    private Integer fClick;

    /**
     * 菜品上传时间
     */
    @Column(name = "f_createtime")
    private Date fCreatetime;

    /**
     * 菜品分类
     */
    @Column(name = "c_id")
    private String cId;

    @Column(name = "u_id")
    private Integer uId;

    /**
     * 菜品的步骤 | 分割
     */
    @Column(name = "f_context")
    private String fContext;

    /**
     * 菜品的食材 不同食材用 |分割 食材与数量用;分割
     */
    @Column(name = "f_ingredients")
    private String fIngredients;

    /**
     * 用具
     */
    @Column(name = "f_kitchenware")
    private String fKitchenware;

    /**
     * 时长
     */
    @Column(name = "f_duration")
    private String fDuration;

    /**
     * 难度
     */
    @Column(name = "f_difficulty")
    private String fDifficulty;

    /**
     * 介绍
     */
    @Column(name = "f_introduce")
    private String fIntroduce;

    /**
     * 点赞
     */
    @Column(name = "f_like")
    private Integer fLike;


}